package pers.yurwisher.dota2.pudge.system.pojo.fo;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author yq
 * @date 2021-03-03 11:07:55
 * @description FAQ常见问题解答 Fo
 * @since V1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SystemFaqFo implements Serializable {
    private static final long serialVersionUID = 7401437128620938342L;
    @NotBlank(message = "问题解答必填")
    private String question;
    @NotBlank(message = "问题解答必填")
    private String answer;
    @NotNull(message = "问题类型必填")
    private Integer type;
    @NotNull(message = "问题排序号必填")
    private Integer seq;
}
